#ifndef UTIL_H_
#define UTIL_H_

#include <unistd.h>

#define WRITES(fd, s) (write((fd), (s), (sizeof(s) - 1)))

#ifndef VERSION
#define VERSION
#endif

size_t
estrnlen(const char *s, size_t maxlen);

#endif /* UTIL_H_ */
